package com.example.demo.service.exam;

import com.example.demo.domain.exam.Exam;
import com.example.demo.domain.exam.ExamPaper;
import com.example.demo.dto.ExamUserScoreDTO;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

public interface ExamSituationService {

    List<Exam> getRecentExam(Long num);

    ExamPaper getExamPaper(Long paperId, String paperType);

    void exportSubmitLog(Long examId, HttpServletResponse response);

    void exportScore(Long examId, HttpServletResponse response);

    ExamUserScoreDTO getExamUserScore(Long examId, Long userId);

    Map<String, Object> getStatistics();
}
